package com.micro.frog.rbac.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author Jason.lv
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "mc_user")
public class UserDO extends BaseDO {

    private String userName;

    private String namePinyin;

    private String loginName;

    private String password;

    @TableField(value = "`type`")
    private Integer type;

    @TableField(value = "`status`")
    private Integer status;

    private String headImg;

    private String phone;

    private String certiNo;

    private String email;

    private Date firstLoginTime;

    private String firstLoginIp;

    private Date lastLoginTime;

    private String lastLoginIp;

}